using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using ZSW.Framework;
namespace Main.Save
{
    public interface ISaveable
    {
        string GUID { get; }
        void RegisterSaveable()
        {
            ZSWF_IOCContainer.Get<SaveLoadManager>().RegisterSaveable(this);
        }
        GameSaveData GenerateSaveData();
        void RestoreData(GameSaveData data);
    }
}
